package org.jeecg.trace.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.trace.entity.MesLotStatus;
import org.jeecg.common.api.vo.Result;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.Serializable;
import java.util.Collection;
import java.util.Map;

/**
 * @Description: 产品批次表
 * @Author: licy
 * @Date: 2022-11-16
 * @Version: V1.0
 */
public interface IMesLotStatusService extends IService<MesLotStatus> {

	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain(String id);

	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain(Collection<? extends Serializable> idList);

	/**
	 * 编辑方法
	 *
	 * @param mesLotStatus
	 */
	Result<String> edit(MesLotStatus mesLotStatus);

	IPage<MesLotStatus> pageList(Page<MesLotStatus> page, MesLotStatus mesLotStatus);

	void exportXls(HttpServletRequest request, HttpServletResponse response, Map<String, String> map);
}
